ipv4: Fix ABI change in 4.4.4
authorBen Hutchings <ben@decadent.org.uk>
Sun, 6 Mar 2016 01:14:29 +0000 (01:14 +0000)
committerBen Hutchings <ben@decadent.org.uk>
Thu, 17 Mar 2016 01:25:23 +0000 (01:25 +0000)
struct fib_nh_exception is always allocated and used in the ipv4 core,
which is built-in.  As the new field is at the end of the structure,
all we need to do is hide it from genksyms.

Gbp-Pq: Topic debian
Gbp-Pq: Name ipv4-fix-abi-change-in-4.4.4.patch

include/net/ip_fib.h

index 3f98233388fbe181c13063dc27f21fa70a6d5e34..3b281796ba10d69551db52459fede17aab51c05e 100644 (file)
@@ -61,7 +61,9 @@ struct fib_nh_exception {
        struct rtable __rcu             *fnhe_rth_input;
        struct rtable __rcu             *fnhe_rth_output;
        unsigned long                   fnhe_stamp;
+#ifndef __GENKSYMS__
        struct rcu_head                 rcu;
+#endif
 };
 
 struct fnhe_hash_bucket {